package cn.edu.ujn.booksshop.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.ujn.booksshop.dao.CartDetail;

public interface CartDetailMapper {
    int deleteByPrimaryKey(Integer cartdetailid);

    int insert(CartDetail row);

    int insertSelective(CartDetail row);

    CartDetail selectByPrimaryKey(Integer cartdetailid);

    int updateByPrimaryKeySelective(CartDetail row);

    int updateByPrimaryKey(CartDetail row);
    
    List<CartDetail> selectAll(@Param("page") Integer page,@Param("rows") Integer rows);
}